package com.achievement.service;

import com.achievement.domain.dto.PatentDTO;
import com.achievement.domain.entity.PatentEntity;
import com.achievement.domain.param.PatentParam;
import com.achievement.domain.vo.PatentVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;


public interface IPatentService extends IService<PatentEntity>, BusinessApi
{
    List<PatentVO> selectByPage(PatentParam param);

    List<PatentEntity> getListByConditions(PatentParam param);
    PatentVO getInfoById(String id);


    AjaxResult add(PatentDTO dto);

    AjaxResult update(PatentDTO dto);

    boolean batchRemove(List<String> ids);

    List<HashMap<String, Integer>> listStatistics(PatentParam param);
}
